package com.zxm.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zxm.edu.entity.School;
import com.zxm.edu.vo.ConditionVO;
import com.zxm.edu.vo.PageResult;

import java.util.List;

/**
 * 标签服务
 *
 * @author silencezheng
 * @date 2021/07/29
 */
public interface SchoolService extends IService<School> {

    /**
     * 查询标签列表
     *
     * @return 标签列表
     */
    PageResult<School> listSchools(ConditionVO condition);

    /**
     * 查询后台标签
     *
     * @param condition 条件
     */
    PageResult<School> listSchoolBackDTO(ConditionVO condition);

    /**
     * 搜索资讯标签
     *
     * @param condition 条件
     */
    List<School> listSchoolsBySearch(ConditionVO condition);

    /**
     * 删除标签
     *
     */
    void deleteSchool(List<Integer> schoolIdList);

    /**
     * 保存或更新标签
     *
     */
    void saveOrUpdateSchool(School school);

}
